Skip to content

Conversation

conico974
Copy link
Contributor

Introduce a new option to bypass tag cache validation from the incremental caches, along with unit tests to ensure expected behavior.

This is useful in 2 situations:

  • When you don't need the tag cache only for some routes/data cache entry
  • When you're sure that a route has not been revalidated. For example in cloudflare when a cache entry is coming from the cache api and that you have automatic cache invalidation.

Copy link

changeset-bot bot commented Aug 3, 2025

🦋 Changeset detected

Latest commit: 5eaabb4

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
@opennextjs/aws Patch
app-pages-router Patch
app-router Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link
Contributor

github-actions bot commented Aug 3, 2025

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 26.53% 2602 / 9807
🔵 Statements 26.53% 2602 / 9807
🔵 Functions 54.26% 140 / 258
🔵 Branches 73.45% 628 / 855
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
packages/open-next/src/adapters/cache.ts 86.76% 83.73% 100% 86.76% 22-23, 87-95, 151-162, 184-185, 370-378, 412-413, 447-456, 466-474
packages/open-next/src/adapters/composable-cache.ts 0% 0% 0% 0% 1-127
packages/open-next/src/types/overrides.ts 0% 0% 0% 0%
Generated in workflow #1400 for commit 5eaabb4 by the Vitest Coverage Report Action

Copy link

pkg-pr-new bot commented Aug 3, 2025

Open in StackBlitz

pnpm add https://pkg.pr.new/@opennextjs/aws@944

commit: 5eaabb4

Copy link
Contributor

@khuezy khuezy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Just 1 note.

@conico974 conico974 merged commit b9635d0 into main Aug 3, 2025
3 checks passed
@conico974 conico974 deleted the conico/bypass-tag-cache branch August 3, 2025 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants